package com.prs.crm.domain.oa.schedule;

import java.util.Date;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
/**
 * @author YangHao
 * @E-Mail:450098606@qq.com
 * @qq:450098606
 * @version 创建时间：2012-4-16 11:27:21 普通日程
 */
@Entity
@Table(name="oa_commonSchedule")
public class CommonSchedule  extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	private Date cs_beginTime;
	private Date cs_overTime;
	
//	@OneToMany(fetch=FetchType.LAZY,mappedBy="commonSchedule",cascade=CascadeType.ALL)
//	private Set<MyThings> myThings;
//	
//	@OneToMany(fetch=FetchType.LAZY,mappedBy="commonSchedules",cascade=CascadeType.ALL)
//	private Set<OthersThings> othersThings;
//	
//	public Set<MyThings> getMyThings() {
//		return myThings;
//	}
//	public void setMyThings(Set<MyThings> myThings) {
//		this.myThings = myThings;
//	}
//	public Set<OthersThings> getOthersThings() {
//		return othersThings;
//	}
//	public void setOthersThings(Set<OthersThings> othersThings) {
//		this.othersThings = othersThings;
//	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getCs_beginTime() {
		return cs_beginTime;
	}
	public void setCs_beginTime(Date csBeginTime) {
		cs_beginTime = csBeginTime;
	}
	public Date getCs_overTime() {
		return cs_overTime;
	}
	public void setCs_overTime(Date csOverTime) {
		cs_overTime = csOverTime;
	}
	
}
